Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix OptionGroup type now that schema has more properties #1487

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

CarsonF
Copy link
Member

@CarsonF CarsonF commented Oct 24, 2023

Now it's actually based on keys defined in the groups array, which is more appropriate, rather than assuming "all required props."
This is possible by switching the groups type to a satisfies clause, which wasn't available when the code was first written.

Now it's actually based on keys defined in the `groups` array,
which is more appropriate, rather than assuming "all required props."
This is possible by switching the `groups` type to a
`satisfies` clause, which wasn't available when the code
was first written.
@CarsonF CarsonF force-pushed the bugfix/option-type branch from 9e8b43c to 05f760b Compare October 24, 2023 02:10
@CarsonF CarsonF merged commit 71e27f6 into develop Oct 24, 2023
4 checks passed
@CarsonF CarsonF deleted the bugfix/option-type branch October 24, 2023 02:20
adam-soltech pushed a commit that referenced this pull request Oct 31, 2023
Now it's actually based on keys defined in the groups array, which is more appropriate, rather than assuming "all required props."
This is possible by switching the groups type to a satisfies clause, which wasn't available when the code was first written.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant